package domain.response;

import domain.LyyBaseResponse;
import domain.PageBean;
import domain.Question;

public class FindQuestionByPageResponse extends LyyBaseResponse {
    private PageBean<Question> pageBean;

    public FindQuestionByPageResponse() {
    }

    public FindQuestionByPageResponse(int status, String errMsg, PageBean<Question> pageBean) {
        super(status, errMsg);
        this.pageBean = pageBean;
    }

    public PageBean<Question> getPageBean() {
        return pageBean;
    }

    public void setPageBean(PageBean<Question> pageBean) {
        this.pageBean = pageBean;
    }

    @Override
    public String toString() {
        return "FindQuestionByPageResponse{" +
                "pageBean=" + pageBean +
                '}';
    }
}
